package xuanzhen.wx.pojo;

public class Jsticket {
	/**
	 * 错误代号
	 */
	private String errcode;
	/**
	 * 错误信息
	 */
	private String errmsg;
	/**
	 * jsapi票据
	 */
	private String ticket;
	/**
	 * 有效时间7200s
	 */
	private int expiresIn;
	private String nonceStr;
	private String timestamp;
	private String url;
	private String signature;
	private String appId;
	
	public String getNonceStr() {
		return nonceStr;
	}
	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}
	public String getTimestamp() {
		return timestamp;
	}
	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getSignature() {
		return signature;
	}
	public void setSignature(String signature) {
		this.signature = signature;
	}
	public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	public String getErrcode() {
		return errcode;
	}
	public void setErrcode(String errcode) {
		this.errcode = errcode;
	}
	public String getErrmsg() {
		return errmsg;
	}
	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}
	public String getTicket() {
		return ticket;
	}
	public void setTicket(String ticket) {
		this.ticket = ticket;
	}
	public int getExpiresIn() {
		return expiresIn;
	}
	public void setExpiresIn(int expiresIn) {
		this.expiresIn = expiresIn;
	}
	
	public Jsticket() {
		super();
	}
	public Jsticket(String errcode, String errmsg, String ticket, int expiresIn) {
		super();
		this.errcode = errcode;
		this.errmsg = errmsg;
		this.ticket = ticket;
		this.expiresIn = expiresIn;
	}
	@Override
	public String toString() {
		return "Jsticket [errcode=" + errcode + ", errmsg=" + errmsg + ", ticket=" + ticket + ", expiresIn=" + expiresIn
				+ "]";
	}
	
}
